<%@ page language="java"  pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>导航编辑</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="icon" href="images/favicon.ico" type="image/vnd.microsoft.icon">
	
	<link href="<%=basePath%>css/dialog/dialog.css" rel="stylesheet">
	<link href="<%=basePath%>css/smoothness/jquery-ui.css" rel="stylesheet">
	
	<script src="<%=basePath%>js/jquery-1.8.3.js" type="text/javascript"></script>
     <script src="<%=basePath%>js/dialog.js" type="text/javascript"></script>
	<script src="<%=basePath%>js/jquery-ui.min.js" type="text/javascript"></script>
  	<script type="text/javascript">
  		$(function(){
  			$("#buttons").buttonset();
  		});
  		
  		function skipTo(name){
  			location.href='home/' + name + '.wkm';
  		}
  		function music(name){
  			location.href='music/' + name + '.wkm';
  		}
  	</script>
  </head>
  
  <body>
  		<div id="buttons" style="vertical-align: middle" align="center">
  				<input type="radio" id="tree" name="radio"><label onclick="skipTo('edit');" for="tree">添加菜单</label>
  				<input type="radio" id="root" name="radio"><label onclick="skipTo('root');" for="root">编辑根菜单</label>
  				<input type="radio" id="child" name="radio"><label onclick="skipTo('children');" for="child">编辑子菜单</label>
  				<input type="radio" id="body" name="radio"><label onclick="skipTo('bodyEdit');" for="body">编辑右导航</label>
  				<input type="radio" id="home" name="radio"><label onclick="skipTo('editHome');" for="home">编辑首页</label>
  				<input type="radio" id="music" name="radio"><label onclick="music('home');" for="music">音乐编辑</label>
  		</div>
  </body>
</html>
